package com.pxr.collectiontools;

public class Teacher {
    //属性
    private String teaName;
    private String teaNum;
    private double teaScore;

    //行为

    public Teacher(String teaName, String teaNum, double teaScore) {
        this.teaName = teaName;
        this.teaNum = teaNum;
        this.teaScore = teaScore;
    }

    public Teacher() {
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public String getTeaNum() {
        return teaNum;
    }

    public void setTeaNum(String teaNum) {
        this.teaNum = teaNum;
    }

    public double getTeaScore() {
        return teaScore;
    }

    public void setTeaScore(double teaScore) {
        this.teaScore = teaScore;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teaName='" + teaName + '\'' +
                ", teaNum='" + teaNum + '\'' +
                ", teaScore=" + teaScore +
                '}';
    }


}
